﻿//***********************************************************************************************
//* File Name	: IEmailRepository.cs
//* Description	: This is an interface for implementing Repository for channels
//* 
//* Author		: Ashutosh Phoujdar(ashu.fouzdar@gmail.com)
//* Date		: 14-September-2014
//* ***********************************************************************************************

using System;
namespace EmailFactory
{
    public interface IEmailRepository
    {
        ActiveUp.Net.Mail.MessageCollection GetAllMails(string mailBox);
        ActiveUp.Net.Mail.MessageCollection GetUnreadMails(string mailBox);
        ActiveUp.Net.Mail.Message GetMailByOrdinal(string mailBox, int messageOrdinal);
    }
}
